\documentclass{article}

\usepackage[square,sort,comma,authoryear]{natbib}

\usepackage{url}                  % format URLs

\begin{document}

has been
recognized as an
issue\,\citep{CastagnaECOOP2013,swalens2014towards,Haller:2015:ETX}, the
question of how to


\bibliographystyle{abbrvnat}
\bibliography{references}

\end{document}
